home *** CD-ROM | disk | FTP | other *** search
/ Champak 146 / (Vol 146) Jan 07 2012.iso / Games / shark_attack_2.swf / scripts / DefineSprite_65 / frame_2 / DoAction.as
Encoding:
Text File  |  2012-01-07  |  100 b   |  10 lines

  1. timer = 60;
  2. if(random(2) == 1)
  3. {
  4.    dest_x = dest_right;
  5. }
  6. else
  7. {
  8.    dest_x = dest_left;
  9. }
  10.